package com.rms.domain;

public class CompanyManager {

	private Integer id;

	private String password;

	private Integer roleId;

	private Integer companyId;
	
	private Company company;
	
	public Company getCompany() {
		return company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public CompanyManager(String password, Integer roleId, Integer companyId) {
		this.password = password;
		this.roleId = roleId;
		this.companyId = companyId;
	}

	public CompanyManager() {
	}
	
	@Override
	public String toString() {
		return "CompanyManager [id=" + id + ", password=" + password + ", roleId=" + roleId + ", companyId=" + companyId
				+ "]";
	}
}